#include <stdio.h>

void incr(int *a)
{
    *a = *a + 1;
}

int main(int argc, char const *argv[])
{
    int a = 10;
    incr(&a);
    printf("a is %d\n", a);

    return 0;
}
